package InterfaceDemo3;
public abstract class ElectronicDeviceAbstract implements Device {
    public void charge() {}
    public void checkStatus() {
        System.out.println("检查设备状态：正常");
    }
    public abstract void powerOn();
    public abstract void powerOff();
    public abstract void repair();
}